home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / std / c / 435 < prev    next >
Internet Message Format  |  1996-08-06  |  2KB

  1. Path: solon.com!not-for-mail
  2. From: thads@csn.net (Thad Smith)
  3. Newsgroups: comp.std.c,comp.lang.c.moderated
  4. Subject: Re: Integral promotion.
  5. Date: 25 Feb 1996 12:11:50 -0600
  6. Organization: T3 Systems
  7. Sender: clc@solutions.solon.com
  8. Approved: clc@solutions.solon.com
  9. Message-ID: <4gq8p6$oqk@solutions.solon.com>
  10. References: <4fstj7$2l6@solutions.solon.com> <4fu835$9de@solutions.solon.com>
  11.  <4fvgrm$dv9@solutions.solon.com> <4g27gn$q5k@solutions.solon.com>
  12. Reply-To: ThadSmith@acm.org
  13. NNTP-Posting-Host: solutions.solon.com
  14.  
  15. In article <4gnbbp$bhu@solutions.solon.com>,
  16. jmccarty@spdmail.spd.dsccc.com (Mike McCarty) wrote:
  17.  
  18. >)Thus, the implementation has to say exactly how it handles this.
  19. >)There is still some question as to whether the implementation can
  20. >)define it as an overflow resulting in program termination, is there
  21. >)not?
  22. >
  23. >Where in the standard does it say that a compiler must be accompanied by
  24. >-any- documentation?
  25.  
  26. >From ANSI Classic 1.6:
  27. " Implementation -- a particular set of software, running in a
  28. particular translation environment under particular control options,
  29. that performs translation of programs for, and supports execution in a
  30. particular exectution environment.
  31.  
  32. Implementation-defined behavior -- behavior, for a correct program
  33. construct and correct data, that depends on the characteristics of the
  34. implementation and that each implementation shall document."
  35.  
  36. If a particular implementation doesn't specify each of the explicit
  37. implementation-defined behaviors, it isn't conforming.  
  38.  
  39. Thad
  40.